/*
 */
package aptech.eproject.logictics.dao.kien;

import aptech.eproject.logictics.db.Branch;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author Kien Nguyen <solidfoxrock at gmail.com>
 */
@Remote
public interface BranchServiceRemote {

    Branch findBranch(int branchId);

    Branch findBranchByUserName(String userName);
            
    List<Branch> findBranches();

    List<Branch> findBranchesByCity(String cityName);

    List<Branch> findBranchesByAddress(String address);

    void create(Branch branch);

    void edit(Branch branch);

    void remove(int branchId);

    void recover(int branchId);

    void removeForever(int branchId);
}
